#!/usr/bin/env python
# -*- coding: utf-8 -*-


__author__ = 'gogo'

__version__ = '0.0.1'


print """\
#!/usr/bin/env python

__author__ = 'gogo'

__version__ = '0.0.1'

drugs_com_index = {\
"""

cnt = 0

with open('test_result/drugs_index.txt') as f:
    for line in f:
        if len(line) > 2:
            drug = line.split()[0]
            cnt += 1
            print ' '*4 + "'" + drug + "'" + ','

print "}"

# print cnt